/**
 * 根据attrType获取当前表格单元格渲染的类型 *
 * @textInput 01 输入框
 * @radioSelect 02 03 下拉单选
 * @checkBoxSelect 04 下拉多选
 * @selectOrText 05 下拉/文本
*/
export const getAttributeTypeFn = (attrType) => {
  let type = ''
  switch (attrType) {
    case '01':
      type = 'textInput'
      break
    case '02':
      type = 'radioSelect'
      break
    case '03':
      type = 'radioSelect'
      break
    case '04':
      type = 'checkBoxSelect'
      break
    case '05':
      type = 'selectOrText'
  }
  return type
}
